import request from '../http/index.js'

const contextTypeObj = Object.freeze({
    JSON: 'application/json;charset=UFT-8',
    FORM: 'application/x-www-form-urlencoded;charset=UFT-8',
    FILE: 'multipart/from-data;charset=utf-8',
})

// 查询天气
export const ApiGetTime = (data) => request({url: '/api/weather/GetWeather',})
// 自定义天气查询
export const ApiWeather = (params) => request({url: '/api/weather/weather',params})
// 每日名言
export const ApiOneDayEnglish = (data) => request({url: '/api/common/OneDayEnglish',})
// 快递查询
export const apiDelivery = (params) => request({ url: `/api/common/delivery`,params,})
// 新华字典
export const apiDict = (params) => request({ url: `/api/txt/dict`,params,})
// 那年今日
export const apiHistory = (params) => request({ url: `/api/common/history`,params,})
// 查询某地天气
export const apiWeather = (params) => request({ url: `/api/weather/weather`,params, method: 'post'})
// qq号查询
export const apiGetQQInfo = (params) => request({ url: `/api/qq/info`,params, method: 'post'})





